-- GENERATED SPELL FOR [Illidari Soldier] --


function spell0_22075(pUnit, Event) --@Spellbreaker,n/a--
pUnit:FullCastSpellOnTarget(35871,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22075', 591, 1)
end

function Sorts_22075(pUnit, Event)
local choix_sorts_22075 = math.random(0, 0)
if choix_sorts_22075 == 0 then
pUnit:RegisterEvent('spell0_22075', 1, 1)
end
end

function mob22075_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22075', math.random(1500, 3000), 1)
end

function mob22075_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22075_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22075_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22075, 1, 'mob22075_Action')
RegisterUnitEvent(22075, 2, 'mob22075_Leave')
RegisterUnitEvent(22075, 3, 'mob22075_Kill')
RegisterUnitEvent(22075, 4, 'mob22075_Die')
